//
//  ProfileEditBirthdayView.swift
//  KoiAccounting
//
//  Created by 纪洪文 on 12.04.25.
//

import SwiftUI

struct ProfileEditBirthdayView: View {
    @Environment(\.presentationMode) var presentationMode
    @StateObject var viewModel = ProfileEditBirthdayViewModel()
    
    var body: some View {
        VStack {
            
        }
        .padding(.horizontal, 20)
        .navigationBarBackButtonHidden()
        .toolbar {
            ToolbarItem(placement: .navigationBarLeading) {
                Button (action:{
                    presentationMode.wrappedValue.dismiss()
                }) {
                    Image(systemName: "chevron.left").foregroundColor(Color.koiColorTitle)
                }
            }
        }
        .navigationBarTitle(Text("编辑生日"), displayMode: .inline)
        .navigationBarItems(trailing: Button(action:{
            // 确定修改昵称
        }){
            Text("确定").font(.system(size: 14)).foregroundColor(Color.koiColorPrimary)
        })
    }
}

#Preview {
    ProfileEditBirthdayView()
}
